#include<iostream>
#include "COutput.h"
#include <iterator>
#include<vector>
#include<fstream>
using namespace std;
COutput::COutput()
{}
COutput::~COutput()
{}       
void COutput::Print(vector<double> &vec,ofstream* of)
{
    vector<double>::iterator iter=vec.begin();
    vector<double>::iterator end_it=vec.end();
    for(;iter!=end_it;++iter)
	(*of)<<*iter<<"   ";
}
void COutput::Print(vector<vector<double> > &vvec,ofstream* of)
{
    for(int i=0;i<vvec.size();i++)
	Print(vvec[i]);
    (*of)<<endl;
}
